package Client;

import java.io.IOException;

import com.sun.org.apache.xml.internal.security.exceptions.Base64DecodingException;

public interface Service {
	public boolean backupFile(CommandParameters params) throws IOException, Base64DecodingException;
    public boolean restoreFile(CommandParameters params) throws IOException;
    public boolean backupDir(CommandParameters params) throws IOException, Base64DecodingException;
    public boolean restoreDir(CommandParameters params) throws IOException;
    public boolean listDir(CommandParameters params) throws IOException;
    public boolean checkDir(CommandParameters params) throws IOException, Base64DecodingException;
    public boolean createSnapshot(CommandParameters params) throws IOException;
    public boolean deleteSnapshot(CommandParameters params) throws IOException;
}